package com.niit.musicserve.service.impl;

import com.niit.musicserve.dao.AdminMapper;
import com.niit.musicserve.service.AdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AdminServiceImpl implements AdminService {

    @Autowired
    private AdminMapper adminMapper;

    @Override
    public Boolean verifyPassword(String adminName, String adminPassword) {
        return adminMapper.verifyPassword(adminName,adminPassword)>0;
    }
}
